package com.jhws.business.device.bo;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.*;

@Entity
@Table(name = "device_face_registerd")
@DynamicInsert(false)
@DynamicUpdate(false)
public class DeviceFaceRegisterdBo {
    /* 设备账号 */
    @Id
    @Column(name = "dev_number")
    String devNumber;

    @Column(name = "comm_code")
    String commCode;

    @Column(name = "timestamp")
    Long timestamp;

    public String getDevNumber() {
        return devNumber;
    }

    public void setDevNumber(String devNumber) {
        this.devNumber = devNumber;
    }

    public String getCommCode() {
        return commCode;
    }

    public void setCommCode(String commCode) {
        this.commCode = commCode;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }
}
